package com.ruoyi.system.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分红池等级发放记录
 * </p>
 *
 * @author author
 * @since 2024-12-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bdm_share_out_bonus_level_record")
@ApiModel(value="BdmShareOutBonusLevelRecord对象", description="分红池等级发放记录")
public class BdmShareOutBonusLevelRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "发放总额")
    private BigDecimal grantMoney;

    @ApiModelProperty(value = "发放人数")
    private Integer grantNumber;

    @ApiModelProperty(value = "每人分得金额")
    private BigDecimal avgMoney;

    @ApiModelProperty(value = "发放周期 1每月")
    private Integer grantPeriod;

    @ApiModelProperty(value = "奖励类型")
    private String typeName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
